/**
 * 
 */
package br.com.arg.aplica.util;

import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;

/**
 * @author adenir
 * 
 */
public enum TipoCampoTabela {
	SMALLINT, INTEGER, BIGINT, REAL, DOUBLE, DECIMAL, CHAR, VARCHAR, LONG_VARCHAR, GRAPHIC, VARGRAPHIC, LONG_VARGRAPHIC, DATE, TIME, TIMESTAMP, XML;

	TipoCampoTabela() {
	}

	public static final Map<String, Integer> lookup = new HashMap<String, Integer>();

	static {
		for (TipoCampoTabela suit : EnumSet.allOf(TipoCampoTabela.class)) {
			lookup.put(suit.name(), suit.ordinal());
		}
	}

}
